/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lyricsguy.lyrics.process;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author User
 */
public class IgnoreWordsChecker {

    List<String> ignoreWords = new ArrayList();

    public IgnoreWordsChecker() {
        ignoreWords.add("Kanye");
        ignoreWords.add("West");
        ignoreWords.add("Chorus");
        ignoreWords.add("Kids");
        ignoreWords.add("lyrics");
        ignoreWords.add("that");
        ignoreWords.add("like");
        ignoreWords.add("your");
        ignoreWords.add("with");
        ignoreWords.add("they");
        ignoreWords.add("know");
    }

    public boolean checkForIgnore(String word) {
        if (word.contains("[") || word.contains("]")) {
            return false;
        }

        if (word.contains("(") || word.contains(")")) {
            return false;
        }

        if (word.length() < 4) {
            return false;
        }

        for (String string : ignoreWords) {
            if (word.equals(string)) {
                return false;
            }
        }
        return true;

    }
}
